package org.sun.basic.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_user")
public class SysUser {

	private String id;
	private String name;
	private String nickname;
	private String password;
	private String phone;
	private String email;
	private String qq;
	private int status;
	private String remark;
	private String createdate;
	private String appid;
	
	public SysUser() {
	}
	
	public SysUser(String id, String name, String nickname, String password, String phone, String email, String qq,
			int status, String remark, String createdate, String appid) {
		super();
		this.id = id;
		this.name = name;
		this.nickname = nickname;
		this.password = password;
		this.phone = phone;
		this.email = email;
		this.qq = qq;
		this.status = status;
		this.remark = remark;
		this.createdate = createdate;
		this.appid = appid;
	}
	
	

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", nickname=" + nickname + ", password=" + password + ", phone="
				+ phone + ", email=" + email + ", qq=" + qq + ", status=" + status + ", remark=" + remark
				+ ", createdate=" + createdate + ", appid=" + appid + "]";
	}

	@Id
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="user_name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name="nick_name")
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	@Column(name="pwd_id")
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name="create_date")
	public String getCreatedate() {
		return createdate;
	}
	public void setCreatedate(String createdate) {
		this.createdate = createdate;
	}
	@Column(name="app_id")
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	
	
}
